Made each chapter more readable as a stand-alone tutorial - #1520
Made each chapter more readable as a stand-alone tutorial #1520samuelafolabi wants to merge 10 commits into
Conversation
There was a problem hiding this comment.
Nice work @samuelafolabi
I spotted a few minor issues after building the pages locally:
- In chapter 8 the header of the minimal example lacks an empty line:
-
Why is the "On this page" table of contents sometimes displayed at the bottom (chapter 1, 2, 3, and 7) and sometimes on the right (all other chapters)? I think on the top right is most intuitive because a visitor typically arrives at the top and may want to jump to a section from there?
-
Videos have 153 error, which may be related to my browser settings, but it may be a general problem:
AI tells me "When embedding a YouTube video via an <iframe>, you may need to adjust how your website handles security and tracking headers. Add referrerpolicy="strict-origin-when-cross-origin" directly inside your YouTube <iframe> tag." What do you think?
-
I like that you reference to Stuart's videos to acknowledge community contributions. I have not been involved in making these videos and I remember that there were some things in it that I would not recommend myself. Also, I do not know whether the videos are still relevant for learning the current version of GGIR. Did you watch them and find them useful for learning GGIR? If yes, then let's keep them. Further, I am wondering whether there should be a warning that content of videos may not be up to date with latest version of GGIR? or is that something the viewer should judge for themselves?
-
When I build the pages locally I see a few warnings (below), are they easy to address?
── Building articles ───────────────────────────────────────────────────────────
Writing articles/index.html
Reading vignettes/chapter0_Contributing.Rmd
Writing articles/chapter0_Contributing.html
Reading vignettes/chapter0_GetStarted.Rmd
Writing articles/chapter0_GetStarted.html
WARNING] Div at file34c47f2573e4.md_chunk line 4 column 1 unclosed at file34c47f2573e4.md_chunk line 6 column 1, closing implicitly.
Reading vignettes/chapter0_Installation.Rmd
Writing articles/chapter0_Installation.html
Reading vignettes/chapter0_Support.Rmd
Writing articles/chapter0_Support.html
Reading vignettes/chapter1_WhatIsGGIR.Rmd
Writing articles/chapter1_WhatIsGGIR.html
WARNING] Div at file34c45ec42633.md_chunk line 4 column 1 unclosed at file34c45ec42633.md_chunk line 6 column 1, closing implicitly.
Reading vignettes/chapter10_SleepAnalysis.Rmd
Writing articles/chapter10_SleepAnalysis.html
Reading vignettes/chapter11_DescribingDataCutPoints.Rmd
Writing articles/chapter11_DescribingDataCutPoints.html
Reading vignettes/chapter12_TimeUseAnalysis.Rmd
Writing articles/chapter12_TimeUseAnalysis.html
WARNING] Div at file34c477284eda.md_chunk line 4 column 1 unclosed at file34c477284eda.md_chunk line 6 column 1, closing implicitly.
Reading vignettes/chapter13_CircadianRhythm.Rmd
Writing articles/chapter13_CircadianRhythm.html
Reading vignettes/chapter14_BehaviouralFragmentation.Rmd
Writing articles/chapter14_BehaviouralFragmentation.html
Reading vignettes/chapter2_Pipeline.Rmd
Writing articles/chapter2_Pipeline.html
WARNING] Div at file34c449042314.md_chunk line 4 column 1 unclosed at file34c449042314.md_chunk line 6 column 1, closing implicitly.
Reading vignettes/chapter3_QualityAssessment.Rmd
Writing articles/chapter3_QualityAssessment.html
WARNING] Div at file34c4b0d6303.md_chunk line 4 column 1 unclosed at file34c4b0d6303.md_chunk line 6 column 1, closing implicitly.
Reading vignettes/chapter4_AccMetrics.Rmd
Writing articles/chapter4_AccMetrics.html
```
|
@vincentvanhees Apologies for the late response.
I'll find a way to fix that soon, and I'll feed you back.
|
|
Thanks, I will look at this later in the week. |
|
I have been thinking about the videos and would like to exclude them for the following reasons.
|


Fixes #1517
inst/NEWS.Rdwith a user-readable summary. Please, include references to relevant issues or PR discussions.